ABC144 B - 81
Submission #13408013 - AtCoder Beginner Contest 144
全探索